package com.bl.student.service.vo.user;

import com.bl.student.common.enums.Sex;
import com.bl.student.service.vo.AbstractVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * Created by yujingyi on 2017/8/11.
 */
@Data
@ApiModel(value="userInfoModifyBody", description="用户信息修改请求body", discriminator = "用户信息修改请求body")
public class UserInfoModifyVo extends AbstractVo {

    @Size(max = 30, message = "姓名不能超过20个字")
    @ApiModelProperty(value = "姓名", required = true)
    private String name;

    @ApiModelProperty(value = "姓别,  MALE:男性 FEMALE 女性", required = true)
    private Sex sex;

    @ApiModelProperty(value = "省ID", required = true)
    private String provinceId;

    @ApiModelProperty(value = "院校", required = true)
    private String college;

    @ApiModelProperty(value = "学生证")
    @Column(name = "student_card")
    private String studentCard;

    private String info;

    private String nickname;

    private String avatar;

}
